package cc.minos.servers.openfire.ui.textbox
{
	import flash.events.KeyboardEvent;
	import flash.events.TextEvent;
	import flash.ui.Keyboard;
	import flashx.textLayout.edit.EditManager;
	import flashx.undo.IUndoManager;
	
	/**
	 * ...
	 * @author Minos
	 */
	public class CustomEditManager extends EditManager
	{
		
		public function CustomEditManager( undoManager:IUndoManager = null )
		{
			super( undoManager );
		}
		
		override public function keyDownHandler( event:KeyboardEvent ):void
		{
			if ( event.ctrlKey && event.keyCode == Keyboard.ENTER )
			{
				return;
			}
			//try{
				super.keyDownHandler( event );
			//}catch (e:Error) { };d
		}
	
	}

}